package com.xiaoshuidi.cloud.module.finance.dal.dataobject.taxRate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 门店税率配置表 DO
 */
@TableName("finance_tax_rate_config")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FinanceTaxRateConfigDO extends BaseDO {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 门店id
     */
    private Long apartmentId;
    /**
     * 门店名称
     */
    private String apartmentName;
    /**
     * 简易计税：1-可以；0-不行
     */
    private boolean isSimpleTaxation;
    /**
     * 费用类型
     */
    private String expenseType;
    /**
     * 费项名称
     */
    private String configFeesName;
    /**
     * 税率
     */
    private BigDecimal taxRate;


}
